Airwallex\Gateways\Card D

Total Complexity 132
Dependencies 17
Dependents 8
Total lines 691
Lines of code 566
Logical lines of code 260
Comment lines 34
Methods 30
Properties 10

Methods 30

Method Rating Maintainability Complexity Lines of code
payment_fields()
C
38 29 63
process_payment()
A
38 14 62
getCardLogos()
A
52 9 23
__construct()
A
53 8 20
get_form_fields()
A
41 5 65
output()
S
44 4 45
enqueueScriptsForEmbeddedCard()
S
49 5 29
filterTokens()
S
61 6 11
syncSaveCards()
S
52 5 24
change_subscription_payment_method()
S
53 4 23
savedTokens()
S
54 4 20
capture()
S
56 4 18
deletePaymentMethod()
S
62 4 12
add_payment_method()
S
57 3 17
get_icon()
S
60 3 13
getCustomerClientSecret()
S
54 2 23
getTokens()
S
58 2 17
formatCardType()
S
56 2 17
has_fields()
S
70 3 6
getMetaData()
S
66 3 8
isContainSubscription()
S
72 2 6
is_captured()
S
64 2 10
getDescriptorSetting()
S
73 2 4
is_capture_immediately()
S
78 1 3
is_save_card_enabled()
S
78 1 3
is_skip_cvc_enabled()
S
78 1 3
enqueueAdminScripts()
S
91 1 2
enqueueScriptForRedirectCard()
S
81 1 3
consentsInCloud()
S
70 1 6
registerHooks()
S
62 1 10